<#import "/META-INF/spring.ftl" as spring />
<#include "header.ftl" />
<@head title="用户登录 - ${sitename}"/>
	<@nav />
	<div class="container">
		<div class="grid grid-15">
			<div class="box">
				<div class="box-title">用户登录</div>
			   	<div class="box-body">
			   		<form action="${base}/dologin" method="POST" class="form-input-auto">
			   			<div class="label">帐号：<input name="name" type="text" placeholder="用户名" class="input input-large"></div>
			   			<div class="label">密码：<input name="password" type="password" placeholder="密码" class="input input-large"></div>
			   			<div class="label">验证：<input name="validateCode" class="input input-small" placeholder="请输入验证码" /><img id="validateCode" src="${base}/common/validateCode" />&nbsp;&nbsp;<a href="javascript:changeImg();">换一张</a>
			   			</div>
			   			<div class="label"><label style="padding-left:42px;"><input name="rememberMe" type="checkbox"/>记住我的登录信息(<span style="color:#ec5534;">请勿在公用电脑或者网吧内使用此项</span>)</label></div>
			   			<#if SPRING_SECURITY_LAST_EXCEPTION?has_content>
						<div class="label"><label style="padding-left:42px; color:red;">${SPRING_SECURITY_LAST_EXCEPTION.message}</label></div>
						</#if>
			   			<div class="label">
			   				<div style="padding-left:42px;">
					   			<input type="submit" value=" 登 录 " class="input button">
					   			<a href="javascript:void();">忘记密码？</a>
				   			</div>
				   		</div>
			   		</form>
			   	</div>
			</div>
		</div>
		<div class="grid grid-5 last">
			<a href="${base}/register">没有帐号？ 注册新会员&gt;&gt;</a><br/>
			欢迎登录${sitename}!登录后您可以：<br/>
			1.拥有自己的博客<br/>
			2.参与站内交流<br/>
			3.发表评论<br/>
		</div>
	</div>
	
	
<#include "footer.ftl" />